﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="Khung_Login.ascx.cs" Inherits="UserConTrols_Khung_Loginl" %>
<div class="Support">
    <asp:Panel ID="Logged" Visible="false" runat="server">
        <table width="100%">
            <tr>
                <td align="center" colspan="2">
                    <font color="blue">Chào Bạn</font><br />
                    <br />
                </td>
            </tr>
            <tr>
                <td align="center" colspan="2">
                    <font color="red"><b>
                        <asp:Label ID="tenkh" runat="server" Text=""></asp:Label></b></font>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr color="#008000" size="1">
                </td>
            </tr>
            <tr>
                <td>
                    <font color="blue">Tên ĐN</font>
                </td>
                <td align="right">
                    <font color="red"><b>
                        <asp:Label ID="usernamelogged" runat="server" Text=""></asp:Label></b></font>
                </td>
            </tr>
            <tr>
                <td colspan="2">
                    <hr color="#008000" size="1">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:LinkButton ID="thoat" runat="server" onclick="thoat_Click">ĐĂNG XUẤT</asp:LinkButton>
                </td>
            </tr>
        </table>
    </asp:Panel>
    <asp:Panel ID="Login" Visible="false" runat="server">
        <table width="100%">
            <tr>
                <td>
                    <font color="blue">Tài khoản</font>
                </td>
                <td align="right">
                    <asp:TextBox ID="UserNamez" runat="server" Width="82px"></asp:TextBox>
                </td>
            </tr>
            <tr>
                <td>
                    <font color="blue">Mật khẩu</font>
                </td>
                <td align="right">
                    <asp:TextBox ID="Passwordz" runat="server" TextMode="Password" Width="82px"></asp:TextBox>
                </td>
            </tr>
            <asp:Panel ID="Panel1" runat="server">
                <tr>
                    <td colspan="2">
                        <asp:Label ID="dangnhapsai" Visible="false" runat="server" Text="<font color='red'>Đăng Nhập Sai Rồi.</font>"></asp:Label>
                    </td>
                </tr>
            </asp:Panel>
            <tr>
                <td colspan="2">
                    <hr color="#008000" size="1">
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:Button ID="dangnhap" runat="server" Text="Đăng Nhập" 
                        onclick="dangnhap_Click" />
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:LinkButton ID="dangky" runat="server" onclick="dangky_Click">ĐĂNG KÝ</asp:LinkButton>
                </td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                    <asp:LinkButton ID="phuchoipass" runat="server" onclick="phuchoipass_Click">QUÊN MẬT KHẨU</asp:LinkButton>
                </td>
            </tr>
        </table>
    </asp:Panel>
</div>
